package com.aspose.cells;

import java.util.HashMap;

class zaog {
   static HashMap a(WorksheetCollection var0) {
      com.aspose.cells.b.a.a.zd var1 = new com.aspose.cells.b.a.a.zd();
      HashMap var2 = new HashMap();
      NameCollection var3 = var0.getNames();

      int var4;
      for(var4 = 0; var4 < var3.getCount(); ++var4) {
         Name var5 = var3.get(var4);
         String var6;
         if (var5.getSheetIndex() == 0) {
            var6 = var5.getText() + "~";
         } else {
            String var7 = var0.get(var5.getSheetIndex() - 1).getName().toUpperCase();
            var6 = var5.getText() + "!" + var7;
         }

         zaoh var9 = new zaoh(var5);
         var9.b = var4;
         var1.b(var6, var9);
      }

      var3.b();

      for(var4 = 0; var4 < var1.b(); ++var4) {
         zaoh var8 = (zaoh)var1.b(var4);
         var3.a(var8.a, false);
         var2.put(var8.b, var4);
      }

      return var2;
   }
}
